package com.colorfruit.admin.business.dao;

import com.colorfruit.admin.pojo.entity.LogicTransportInfo;
import org.apache.ibatis.annotations.Param;

public interface LogicTransportInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LogicTransportInfo record);

    int insertSelective(LogicTransportInfo record);

    LogicTransportInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LogicTransportInfo record);

    int updateByPrimaryKey(LogicTransportInfo record);

    LogicTransportInfo getLogicTransportInfo(@Param("globalControlId") Long globalControlId,
                                             @Param("pickGoodsAddressId") Long pickGoodsAddressId);

    int updateLogicStatus(@Param("id") Long id, @Param("recordStatus") byte recordStatus);
}